		<!-- BEGIN PAGE -->
		<div class="page-content">
			<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<div id="portlet-config" class="modal hide">
				<div class="modal-header">
					<button data-dismiss="modal" class="close" type="button"></button>
					<h3>我的组织</h3>
				</div>
				<div class="modal-body">
					在这里可以加入组织,创建组织或者管理已经加入的组织
				</div>
			</div>
			<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<!-- BEGIN PAGE CONTAINER-->
			<div class="container-fluid">
				<!-- BEGIN PAGE HEADER-->
				<div class="row-fluid">
					<div class="span12">
						<!-- BEGIN PAGE TITLE & BREADCRUMB-->
						<h3 class="page-title">
							我的组织 <small>在这里可以加入组织,创建组织或者管理已经加入的组织</small>
						</h3>
						<ul class="breadcrumb">
							<li>
								<i class="icon-home"></i>
								<a href="/">概况总览</a> 
								<i class="icon-angle-right"></i>
							</li>
							<li><a href="/myorg">我的组织</a></li>

						</ul>
						<!-- END PAGE TITLE & BREADCRUMB-->
					</div>
				</div>
				<!-- END PAGE HEADER-->
				<div id="dashboard">
					<!-- BEGIN DASHBOARD STATS -->
					
						<div class="portlet-body">
							<p>            
								<a class="btn purple" data-toggle="modal" href="#responsive">创建组织</a>
								<a class="btn red" data-toggle="modal" href="#responsive">加入组织</a>
							</p> 
						</div>	
					
					<div id="responsive" class="modal hide fade" tabindex="-1" data-width="600">
									<div class="modal-header">
										<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
										<h3>创建组织</h3>
									</div>
									<form name="neworgform" id="neworgform" class="form-horizontal">
									<div class="modal-body">
													<!-- BEGIN FORM-->
													
														<div class="control-group">
															<label class="control-label">组织名称<span class="required">*</span></label>
															<div class="controls">
																<input name="orgname" type="text" required  placeholder="组织名称" class="m-wrap large" />
															</div>
														</div>

														<div class="control-group">
															<label class="control-label">组织描述<span class="required">*</span></label>
															<div class="controls">
																<textarea name="orgdesc" class="large m-wrap" rows="3" required></textarea>
															</div>
														</div>
													
													<!-- END FORM-->  
									</div>
									<div class="modal-footer">
										<button type="submit" class="btn purple" onclick="perSubmit()">提交</button>
										<button type="button" data-dismiss="modal" class="btn">取消</button>
									</div>
								</form>
					</div>
				</br>
					<div id="tbcontent">
						<div class="row-fluid"  >
							<div class="span3 responsive" data-tablet="span6" data-desktop="span3">
								<div class="dashboard-stat blue">
									<div class="visual">
										<i class="icon-group"></i>
									</div>
									<div class="details">
										<div class="number">
											组织测试名
										</div>
									</div>
									<a class="more" href="#">
									详细信息 <i class="m-icon-swapright m-icon-white"></i>
									</a>                 
								</div>
							</div>				
						</div>
					</div>
					<!-- END DASHBOARD STATS -->
				</div>
			</div>
			<!-- END PAGE CONTAINER-->    
		</div>
		<!-- END PAGE -->
	<link rel="stylesheet" type="text/css" href="static/assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.css"/>
	<link href="static/assets/plugins/bootstrap-modal/css/bootstrap-modal.css" rel="stylesheet" type="text/css"/>
	<script src="static/assets/scripts/app.js" type="text/javascript"></script>
	<script src="static/assets/scripts/ui-modals.js"></script>    
	<script src="static/assets/plugins/bootstrap-modal/js/bootstrap-modal.js" type="text/javascript" ></script>
	<script src="static/assets/plugins/bootstrap-modal/js/bootstrap-modalmanager.js" type="text/javascript" ></script>
	<script>
		jQuery(document).ready(function() {    
		   App.init(); // initlayout and core plugins
		   UIModals.init();
		   $.post("/myorg", 
            function(data,status) { 
              $('#tbcontent').html(data);   
          	})  
		});

		function perSubmit() {
        var d=$("#neworgform").serialize();
        $.post("/createorg", d, function (result,status) { 
            $.post("/myorg", 
                function(data,status) { 
                  $('#tbcontent').html(data);   
              })  
        }, "text");
    }
	</script>